#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main(void)
{
	int x = 1;
	while (x < 20)
	{
		x = x * x;
		x = x + 1;
	}
	printf("%d",x);
}